From: Paul Eggert Date: Sun, 29 Jan 2017 00:45:56 +0000 (-0800) Subject: Add delq list arg check X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~21^2~1883^2~53 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1056be0b3c6f7f6732bd6f31f78d3a7e1a41f2c2;p=emacs.git Add delq list arg check * src/fns.c (Fdelq): Check that list is a proper list. This is more compatible with what ‘delete’ does. --- diff --git a/src/fns.c b/src/fns.c index 0d93f824748..136a2198c2c 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1589,6 +1589,7 @@ argument. */) else prev = tail; } + CHECK_LIST_END (tail, list); return list; }